{extend name="./public/base"/}
{block name="alt"}user上传视频列表管理{/block}
{block name="alter"}视频详情{/block}
{block name="title"}BangBang用户上传视频详情{/block}
{block name="main"}
<div class="row">
                    <div class="col-11">
                        <div class="card">
                            <div class="card-block">
                                <div class="card-body">
                                	<h3>基本信息</h3>
                                	{volist name="videoDetails" id="us"}
                                	<div class="row">
                                	<div class="col-sm-3 text-center">
                                		<br>
                                		<br>
                                		<img src="__STATIC__/videopic/{$us.pic}" alt="" width="150px" height="150px" style="border-radius: 50%;"><br>
                                    <button type="button" class="btn btn-success" style="margin-top: 100px;"><a href="{:url('Uservideo/index')}" style="color:white;">返回User上传视频列表</a></button>
                                	</div>
                                        <div class="">
                                           <table class="table">
  <caption></caption>
  <tr>
      <td><p>状态</p></td>
      <td>{if condition="$us.vstatus==0"}<p class="text-left text-success">审核通过</p>
      {elseif condition="$us.vstatus==2"/}<p class="text-left" style="color: blue;">待审核</p>
      {else}<p class="text-left text-danger">审核未通过</p>
      {/if}
                                                    </td>
    </tr>
    <tr>
      <td><p>视频名</p></td>
      <td><p class="text-left">{$us.videoname}</p></td>
    </tr>
    <tr>
      <td><p>视频类型</p></td>
      <td><p class="text-left">{$us.typename}</p></td>
    </tr>
    <tr>
      <td><p>点击量</p></td>
      <td><p class="text-left">{$us.hittimes}</p></td>
    </tr>
    <tr>
      <td><p>视频上传时间</p></td>
      <td><p class="text-left">{$us.uploaddate}</p></td>
    </tr>
    <tr>
      <td><p>所属知识体系</p></td>
      <td><p class="text-left">{$us.kname}--{$us.kbname}</p></td>
    </tr>
    <tr>
      <td><p>上传人</p></td>
      <td><p class="text-left">{$us.uname}</p></td>
    </tr>
    <tr>
      <td><p>视频简介</p></td>
      <td><p class="text-left">{$us.intro}</p></td>
    </tr>
</table>

{if condition="$us.vstatus==2"}<a href="{:url('shield6',['vid'=>$us.vid])}" style="color: white;box-shadow: 3px 3px 5px 0 rgb(128,128,128);font-size: 15px;padding: 10px;border-radius: 5px;background: rgb(30,136,229);">点击通过审核</a>
{else}
{/if}

</div>
</div>
                                          
                                       
                                        {/volist}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
<div class="row">
                    <div class="col-11">
                        <div class="card">
                            <div class="card-block">
                                <div class="card-body">
                                	<h3>子视频目录</h3>

                                	
                                	<table class="table table-striped  mt-3">
                                            {volist name="videochilds" id="cv" key="k"}
                                                <tr>
                                                   
                                                    <th scope="col"><p style="font-size: 20px;margin-top: auto;margin-bottom: auto;">{$k+($page-1)*10}.{$cv.cvtitle} </p>
                                                    </th>
													
                                                </tr>
                                           		<tr>
                                           			<td scope="col"><a href="{:url('videochild',['cvid'=>$cv.cvid])}"><i class="icon-play"></i>&nbsp;&nbsp;&nbsp;&nbsp;{$cv.cvtitle}.mp4</a></td>
                                           		</tr>

                                            {/volist}
                                      
                                        </table>
                                        {$videochilds->render()}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


{/block}